#ifndef HISTOGRAM_DIALOG_H
#define HISTOGRAM_DIALOG_H

#include <QDialog>
#include <vector>
#include <QGraphicsScene>

namespace Ui {
class Histogram_dialog;
}

class Histogram_dialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit Histogram_dialog(QWidget *parent = 0);
    ~Histogram_dialog();
    void AddHistogram(std::vector<double> values, QString title = "");
    void Clear();
    
private slots:
    void on_Plus_pushButton_clicked();
    void on_Minus_pushButton_clicked();

private:

    int number_of_histogram;
    QGraphicsScene* graphScene;

    Ui::Histogram_dialog *ui;
};

#endif // HISTOGRAM_DIALOG_H
